home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 1999 July / APC47-1.ISO / workshop / mac / sokoban / sokoban.hqx / Sokoban 2.4.2a / Modifying Sokoban’s Sounds < prev    next >
Encoding:
Text File  |  1998-03-05  |  1.7 KB  |  25 lines

  1. Sokoban version 2.4 adds sound support. The sounds are in the file ╥Sokoban Sounds╙. If you don╒t like sound, you can either turn sound off (look on the Edit menu) or rename or delete the ╥Sokoban Sounds╙ file.
  2.  
  3. To substitute your own favorite sounds, make sounds with the following names:
  4. ╥Sok Push╙ ╤ for pushing a treasure
  5. ╥Sok Walk╙ ╤ when you don╒t push a treasure
  6. ╥Sok No Move╙╤played when no move is possible
  7. ╥Sok Finish Level╙╤played when you finish a level.
  8.  
  9. Or you can be more specific. To play different sounds for different kinds of pushes, make sounds titled
  10. ╥Sok Push In╙ ╤ for pushing a treasure into a goal area
  11. ╥Sok Push Out╙ ╤ played when you push a treasure out of a goal area
  12. ╥Sok Hit Wall╙╤when you run into a wall
  13. ╥Sok Blocked Treasure╙╤when a treasure can╒t be pushed because a wall or another treasure is behind it.
  14.  
  15. You don╒t need to include all of these sounds; any sound not found will not be played. If both a specific sound and a general sound apply to the current move, the more specific sound will be used.
  16.  
  17. You can either put these sounds into the ╥Sokoban Sounds╙ file, or put them into your System file (perhaps using the Sound control panel to record from a microphone). If you put the sounds into the System file, you may need to delete or at least rename ╥Sokoban Sounds╙ because Sokoban looks for sounds in that file first and will ignore the System file sounds.
  18.  
  19. If you use very long sounds (more than about 50K), you╒ll need to increase Sokoban╒s memory partition. If Sokoban doesn╒t have enough memory to load a sound, it can╒t play it.
  20.  
  21. The current sounds aren╒t very interesting. If you come up with something better, let me know. I╒ll include the sounds I like best in the next update of Sokoban.
  22.  
  23.  
  24. Scott Lindhurst
  25. ScottL@alumni.Princeton.edu